﻿using System.ServiceModel;

namespace IOA.MES.Client.WebService.IService
{
    /// <summary>
    /// EL1服务
    /// </summary>
    [ServiceContract]
    public interface IEL1Service
    {
        /// <summary>
        ///登录系统
        /// </summary>
        /// <param name="userName">账号</param>
        /// <param name="password">密码</param>
        /// <param name="facilityId">车间ID</param>
        [OperationContract]
        string login(string userName, string password, string facilityId);

        /// <summary>
        /// 上传EL数据
        /// </summary>
        /// <param name="data">EL数据JSON字符串</param>
        [OperationContract]
        string dispatchLot(string data);
    }
}
